optimized allocation of trading resources